if __name__ == "__main__":
d = atx.connect("5af3da78")
#开启调试模式
d.debug = True
dInfo=d.info
dW = int(dInfo['displayWidth'])
dH = int(dInfo['displayHeight'])
# subprocess.Popen("adb connect ", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
n = 1
time_count = 1
while 1:
#生成随机整数,假装上翻下翻页
rondom = random.randint(1,1)
time_sleep = ReadBook(n,time_count)
time_count = time_sleep
n = 1
评论